import request from '@/utils/request.js'

// 常量
const api_name = '/sys'

export default {
    login(params) {
        return request({
            url: `${api_name}/login`,
            method: 'post',
            params: params
        })
    },
    getUserInfo() {
        return request({
            url: `${api_name}/getUserInfo`,
            method: 'get'
        })
    },
}
